package cn.iocoder.yudao.framework.operatelog.config;

import cn.iocoder.yudao.framework.operatelog.core.aop.OperateLogAspect;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@ComponentScan(basePackages = "cn.iocoder.yudao.framework.operatelog.api.controller")
//@ComponentScan(basePackages = "cn.iocoder.yudao.framework.operatelog.api.service.permission")
@ComponentScan(basePackages = "cn.iocoder.yudao.framework.operatelog.core.Logger")
@ComponentScan(basePackages = "cn.iocoder.yudao.framework.operatelog.api.tools")
@MapperScan(basePackages = "cn.iocoder.yudao.framework.operatelog.api")
@Configuration
public class YudaoOperateLogAutoConfiguration {

    @Bean
    public OperateLogAspect operateLogAspect() {
        return new OperateLogAspect();
    }

}
